package com.atguigu.common.exception;

/**
 * @author kabuda
 * @create 2022-12-10 15:54
 */
public class NoStockException extends RuntimeException{

    public NoStockException(){
        super("商品库存不足");
    }
    public NoStockException(Long skuId){
        super("商品"+skuId+"库存不足");
    }




}
